<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>小区收缴率月汇总</title>
<LINK href="images/css.css" type="text/css" rel="stylesheet">
</head>

<body>
  <table align="center" width="60%" border="0">
	<tr>
		<td class="STYLE4" align="center" bgcolor="#ffffff" colspan="2"
			height="40">小区收缴率月汇总(${year }年${month }月)</td>
	</tr>
	<tr><td>
	<table align="center" class="tableline" cellspacing="1" cellpadding="0" width="100%" border="0">
    <tr>
		<td width="20%" height="26" align="center" bgcolor="#ffffff">
		物业服务处
		</td>
		<td width="20%" align="center" bgcolor="#ffffff">
		小区
		</td>
		<td width="20%" align="center" bgcolor="#ffffff">
		已缴费房产数
		</td>	
		<td width="20%" align="center" bgcolor="#ffffff">
		总房产数
		</td>
		<td width="20%" align="center" bgcolor="#ffffff">
		收缴率
		</td>		
	</tr>
	<c:forEach items="${queryList }" var="queryMap">
    <tr>
		<td width="20%" height="26" align="center" bgcolor="#ffffff">
		${queryMap.sub.district.name }
		</td>
		<td width="20%" align="center" bgcolor="#ffffff">
		${queryMap.sub.name }
		</td>
		<td width="20%" align="center" bgcolor="#ffffff">
		${queryMap.paid }
		</td>	
		<td width="20%" align="center" bgcolor="#ffffff">
		${queryMap.total }
		</td>
		<td width="20%" align="center" bgcolor="#ffffff">
		${queryMap.rate*100 }%
		</td>		
	</tr>
	</c:forEach>
	</table>
  </td></tr>
</table>
</body>
</html>